package com.chinaunicom.club.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.chinaunicom.club.model.Activity;

public interface IActivity {
    int deleteByPrimaryKey(Integer id);

    int insert(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Activity record);

    int updateByPrimaryKey(Activity record);

	List<Activity> queryAll(Activity activity);

	int check(int id, int checkStatus);

	boolean exportAllActivities(HttpServletRequest request, HttpServletResponse response);

	boolean exportActivityById(int id, HttpServletRequest request, HttpServletResponse response);

	List<Activity> pageQueryAll(int page, int rows);

	int count(Integer id);
}
